package param

//RoleParam role 角色添加参数结构体
type RoleParam struct {
	// 角色名称
	Name string `form:"name" example:"role-name" vaildate:"required"`
	// 角色状态
	Status int `form:"status" example:"1"`
}

//Paging 分页基础
type Paging struct {
	// 当前页
	Page int `form:"page" example:"1" validate:"required"`
	// 当前每页条数
	PageSize int `form:"pageSize" example:"1" validate:"required"`
}

//RoleQuery 查询角色
type RoleQuery struct {
	Paging
	// 角色名称
	Name string `form:"name" example:"role-name" vaildate:"required"`
}
